A=[1,2,3]
print(A)
B=A.pop(1)
print(A)
print(B)

C=['a','b','c']
print(C)
C.remove('b')
print(C)

A=['no','nno','noo']
for B in A[:2]:
    print(B.title())

A=[1,2,3]
Z=A[:]
print(A)
print(Z)
A=[1,2,3,4]
print(A[-1:])
for B in A[-2:]:
    print(B)